package com.kucun.service;

import java.util.List;

import com.kucun.bean.Goods;
import com.kucun.bean.Page;
import com.kucun.bean.Users;

public interface GoodsService {
	int save(Goods goods);
	boolean update(Goods goods);
	int updateGoodsForDel(String ids);
	boolean delete(String id);
	Goods findById(int id);
	List<Goods> findAll(Page page);
	List<Goods> findAll();
	public Page getCount(Page page) ;
	Integer updateByPrimaryKeySelective(Goods goods);
	//用于查库存
	List<Goods> GetGoodsExistOut(Page page);
	public Page GetGoodsExistOutCount(Page page) ;
}
